package com.by.zhdoctor.huanxin.model;

import io.swagger.client.model.MsgContent;

/**
 * 音频消息内容，拓展自MsgContent，以实现对音频的发送
 * Created by succy on 17-9-3.
 */
public class AudioMsgContent extends MsgContent {

    private String url;
    private String filename;
    private long length;
    private String secret;

    public AudioMsgContent url(String url) {
        this.url = url;
        return this;
    }

    public AudioMsgContent filename(String filename) {
        this.filename = filename;
        return this;
    }

    public AudioMsgContent length(long length) {
        this.length = length;
        return this;
    }

    public AudioMsgContent secret(String secret) {
        this.secret = secret;
        return this;
    }
}
